package com.ruoyi.miniprogram.mapper;

import com.ruoyi.common.core.domain.entity.miniprogram.MiniAddress;

import java.util.List;

public interface MiniAddressMapper {

    int insertAddress(MiniAddress address);

    List<MiniAddress> selectAddressListByUserId(Long userId);

    int updateAddress(MiniAddress address);

    MiniAddress selectAddressById(Long addressId);

    int deleteAddress(Long addressId);
}
